package com.example.text.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.text.entity.Notice;
import org.apache.ibatis.annotations.Mapper;


/**
 * 文章表
 *
 * @author hjj
 * @email 1041914134@qq.com
 * @date 2020-06-23 16:02:15
 */
@Mapper
public interface JotterArticleDao  extends BaseMapper<Notice> {

    //查询所有数据,按照降序
    IPage<Notice> selectPageVo(Page<Notice> page);

    IPage<Notice> selectPageVoByName(Page<Notice> page, String username);


    Notice selectByIds(int id);

}
